package com.sen.dao;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sen.entity.DruginfoEntity;
import com.sen.entity.SellheadEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 销售信息表头表
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2021-01-08 17:54:40
 */
@Mapper
@Repository
public interface SellheadDao extends BaseMapper<SellheadEntity> {

    void addOrder(@Param("uuid") String uuid, @Param("eid") String eid, @Param("money") String money, @Param("uid") String uid);

    IPage<SellheadEntity> queryAll(Page<SellheadEntity> page, @Param(Constants.WRAPPER) Wrapper<SellheadEntity> userWrapper);

}
